package com.lin.bank;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 银行账户启动类
 *
 * @author Li
 * @date 2022/04/20
 */
@SpringBootApplication
@MapperScan("com.lin.bank.mapper")
//开启服务注册
@EnableDiscoveryClient
//开启远程feign的客户端调用
@EnableFeignClients(basePackages = "com.lin.bank.feign")
public class BankAccountApplication {
    public static void main(String[] args) {
        SpringApplication.run(BankAccountApplication.class,args);
    }
}
